var avatarState : int = 0;

function OnGUI () {

// Make a background box
	GUI.Box (Rect (10,10,100,90), "Avatar Dialog");

	if (GUI.Button (Rect (10,10,150,100), " Greetings!")) {
		avatarState = 1;
	}
}
